#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"
int main()
{
	ListNode* list = ListCreate();
	ListPushFront(list, 1);
	ListPushFront(list, 2);
	ListPushFront(list, 3);
	ListPushFront(list, 4);
	ListPushBack(list,1);
	ListPushBack(list,2);
	ListPushBack(list,3);
	ListPushBack(list,4);
	ListPrint(list);
	ListPopFront(list);
	ListPopFront(list);
	ListPopBack(list);
	ListPopBack(list);
	ListInsert(ListFind(list, 1),6);
	ListPrint(list);
	ListErase(ListFind(list, 6));
	ListPrint(list);
	ListDestory(list);
	return 0;
}